package com.yyl.service.impl;

import com.yyl.dao.cargoDao;
import com.yyl.entity.cargo;
import com.yyl.service.cargoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class cargoServiceImpl implements cargoService {

	@Autowired
	private cargoDao foo;

	@Override
	public List<cargo> findAllCargo() {
		return foo.selectList(null);
	}
}
